import { ShTerm } from './index'


export interface IBuffer {

}

export class MainBuffer implements IBuffer {

    private _myterm: ShTerm

    constructor (myterm: ShTerm) {
        this._myterm = myterm
    }
}

export class AltBuffer implements IBuffer {

    private _myterm: ShTerm
    private _width: number
    private _height: number

    constructor(myterm: ShTerm) {
        this._myterm = myterm
        this._width = myterm.cols
        this._height = myterm.rows
    }
}